package com.hjxy.pojo;

/**
 * @description:
 * @author: ty
 * @createDate: 2020/9/29
 * @version: 1.0
 */
public class Role {
    private int roleId;
    private String roleName;
    private String permissions;

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", permissions='" + permissions + '\'' +
                '}';
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public Role() {
    }

    public Role(int roleId, String roleName, String permissions) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.permissions = permissions;
    }
}
